<style type="text/css">
	
	
</style>

<div class="right_nav_sidebar" id="right_nav_sidebar">
	<eq name="user" value="">
		<ul style="margin-top: 0.8rem;" >
			<li id="login_li" onclick="location.href='__ROOT__/User/login'">
				<span class="fa fa-user" style="color: #1E90FF;"></span><a href="{:U('User/login')}">登录</a>
			</li>
			<li id="register_li" onclick="location.href='__ROOT__/User/register'">
				<span class="fa fa-user-plus" style="color: #00FF00;"></span><a href="{:U('User/register')}">注册</a>
			</li>
		</ul>
	<else />
		<div class="right_nav_sidebar_title" onclick="location.href='__ROOT__/User/myset'">
			<div>
				<div style="background-image:url({$user.imgurl}) ;">
					<!--<img id="headeuser_img" src="{$user.imgurl}">-->
				</div>
			</div>
			<div>{$user.nickname}</div>
		</div>
		<div class="clear"></div>
		<ul>
			<li id="stage_li" onclick="location.href='__ROOT__/User/mystage'">
				<span class="fa fa-music" style="color: #0000C6;"></span><a href="{:U('User/mystage')}">我的舞台</a>
			</li>
			<li id="info_li" onclick="location.href='__ROOT__/User/myinform'">
				<span class="fa fa-file" style="color: #00A600;"></span><a href="{:U('User/myinform')}">我的信息</a>
				<if condition="$infonum neq null || $infonum neq 0"><span class="info-number">{$infonum}</span></if>
			</li>
			<li id="set_li" onclick="location.href='__ROOT__/User/myset'">
				<span class="fa fa-cog" style="color: #00AEAE;"></span><a href="{:U('User/myset')}">个人设置</a>
			</li>
			<li id="out" onclick="location.href='__ROOT__/User/logout'">
				<span class="fa fa-reply" style="color: #4F4F4F;"></span><a href="{:U('User/logout')}">登出</a>
			</li>
		</ul>
	</eq>
</div>
<script>
	if(device == 'pc'){$('#right_nav_sidebar').css('width','20%')}
</script>
<div class="nav" id="nav">
	<span class="nav-left" id="menu_btn">
			<p><span class=" fa fa-bars fa-lg" id="menu_ico"></span>
				<span class="fa fa-arrow-left" hidden="hidden" id="back_ico"></span> 菜单
			</p>
	</span>
	<div class="nav-right" onclick="location.href='__ROOT__/'">
		<p>
			<img src="__UPLOAD_IMG__/logo.png" style="width: 4rem;height: 2rem;"/></p>
	</div>
	
</div>
